<?php
/**
 * Created by PhpStorm.
 * User: HuangLuSen
 * Date: 2017/5/11
 * Time: 10:40
 */

namespace app\common\message;


abstract class SendType
{
    /**
     * 发送数据到队列
     * @param $data
     * @return mixed
     */
    abstract public function push_to_queue($data);

    /**
     * 发送数据到客户
     * @param $data
     * @return mixed
     */
    abstract public function send_to_any( array $data);
}